import json
import yaml


def read_json(file):
    with open(file,'r',encoding="utf-8")as f:
        return json.load(f)

def read_yaml(file):
    with open(file,'r',encoding="utf-8")as f:
        return yaml.safe_load(f)
